<?php 
/**
 * Base form
 * @author diotheos
 * @since 7 мая 2010
 */
class Lib_Form_Base extends Zend_Form{
	/**
	 * Initialization of form function
	 * 
	 * @since 7 мая 2010
	 * @author diotheos
	 * @return Zend_Form
	 */
	public function init(){
		parent::init();
		$this->addElementPrefixPath('Lib_Form_Validate','Lib/Form/Validate/', 'validate');
		$this->addElementPrefixPath('Lib_Form_Filter','Lib/Form/Filter/', 'filter');
		$this->addElementPrefixPath('Lib_Form_Decorator','Lib/Form/Decorator/', 'decorator');
		
		return $this;
	}
}